const item = {
  name: 'article',
  cn: '文章',
  path: '/article',
  defaultPath: '/article/articlelist',
  level: 1,
  auths: [],
  haveRouter: [],
  hiddenRouter: [],
  children: [
    {
      name: 'ArticleList',
      cn: '文章管理',
      icon: '#icon-essay',
      path: '/article/articlelist',
      componentPath: 'article/article/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['ArticleAdd', 'ArticleEdit'],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'ArticleAdd',
      cn: '文章添加',
      icon: '#icon-essay',
      path: '/article/articleadd',
      componentPath: 'article/article/Add',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'ArticleEdit',
      cn: '文章编辑',
      icon: '#icon-essay',
      path: '/article/articleedit',
      componentPath: 'article/article/Edit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'ArticleClassTree',
      cn: '文章分类',
      icon: '#icon-ategories',
      path: '/article/articleclasstree',
      componentPath: 'article/articleclass/Tree',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['ArticleClassTreeAdd', 'ArticleSubClassAdd', 'ArticleTopClassEdit', 'ArticleSubClassEdit'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'ArticleTopClassAdd',
      cn: '文章顶级分类添加',
      icon: '#icon-ategories',
      path: '/article/topclassadd',
      componentPath: 'article/articleclass/TopAdd',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'ArticleTopClassEdit',
      cn: '文章顶级分类编辑',
      icon: '#icon-ategories',
      path: '/article/topclassedit',
      componentPath: 'article/articleclass/TopEdit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'ArticleSubClassAdd',
      cn: '文章子分类添加',
      icon: '#icon-ategories',
      path: '/article/subclassadd/:pid/:key',
      componentPath: 'article/articleclass/SubAdd',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'ArticleSubClassEdit',
      cn: '文章子分类编辑',
      icon: '#icon-ategories',
      path: '/article/subclassedit',
      componentPath: 'article/articleclass/SubEdit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    }
  ]
}

export default item
